html,
body,
#app {
  margin: 0;
  padding: 0;
}

html.dark {
  background: #222;
  color: white;
}
html {
  --main-color: #00dade;
  background: url("@/assets/images/bg-default.png") no-repeat center;
  background-size: cover;
  height: 100vh;
}

a {
  font-weight: 400;
  color: var(--el-color-primary);
}

/* 文本一行显示 */
.text-line-1-show {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* 文本两行显示 */
.text-line-2-show {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* 文本三行显示 */
.text-line-3-show {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-overflow: ellipsis;
  overflow: hidden;
}


.scroll-content::-webkit-scrollbar-track-piece {
  background-color: #f8f8f8;
}

.scroll-content::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.scroll-content::-webkit-scrollbar-thumb {
  background-color: #dddddd;
  background-clip: padding-box;
}

.scroll-content::-webkit-scrollbar-thumb:hover {
  background-color: #bbb;
}